package com.globallogic.training.javase.money;

public class Pair {

	String from;
	String to;

	Pair(String from, String to) {
		this.from = from;
		this.to = to;
	}
	
	@Override
	public int hashCode() {
		return 0;
	}
	
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}

		Pair other = (Pair) obj;
		return this.from.equals(other.from) && this.to.equals(other.to);
	}
}
